import { EnumRouter } from "@/constants";

const getStaticPath = (uri: string) => EnumRouter.to(`asserts/examples/${uri}`);

/**
 * 枚举静态资源
 */
export const EnumStatic = {
    menus:{
        dataLayer: {
            vector: getStaticPath("menus/vector.png"),
            cluster_circle: getStaticPath("menus/cluster_circle.gif"),
            cluster_clustering: getStaticPath("menus/cluster_clustering.gif"),
        }
    },
    icon:{
        camera: getStaticPath("icon/camera.png"),
    },
    data: {
        simplestylesGeojson: getStaticPath("data/simplestyles.geojson")
    }
}